package xcmg.device.dao.mapper.warehouse;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.warehouse.DeliveryInstructionPostingDO;

import java.math.BigDecimal;

/**
 * @author wangyong
 */
@Mapper
public interface DeliveryInstructionPostingMapper {

    /**
     *  获取已过账的数量
     *
     * @param detailId
     * @return
     */
    BigDecimal getPostedQty(@Param("detailId") String detailId);

    int insert(DeliveryInstructionPostingDO postingDO);

}
